<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>fang.com</title>
	<link rel="stylesheet" href="/css/semantic.min.css">
	<link rel="stylesheet" href="/css/common.css">
</head>
<body>
	<div class="ui page centered stackable grid">
		<h1 class="ui header center aligned" style="padding-top:150px;">
			Fang.com
		</h1>
		<div class="five wide center aligned column">
			<form class="ui form segment" action="/auth/register" method="post">
				<input type="hidden" name="_token" value="{{ csrf_token() }}">
				<div class="field">
					<div class="ui left icon input">
					  	<input type="text" name="username" placeholder="用户名" value="{{ old('username')  }}">
					  	<span class="error_mess">{{ $errors->first('username') }}</span>
					  	<i class="users icon"></i>
					</div>
				</div>
				<div class="field">
					<div class="ui left icon input">
					  	<input type="password" name="password" placeholder="密码">
					  	<span class="error_mess">{{ $errors->first('password') }}</span>
					  	<i class="key icon"></i>
					</div>
				</div>
				<div class="field">
					<div class="ui left icon input">
					  	<input type="password" name="conf_password" placeholder="确认密码">
					  	<span class="error_mess">{{ $errors->first('conf_password') }}</span>
					  	<i class="key icon"></i>
					</div>
				</div>
				<div class="field">
					<div class="ui buttons">
					  	<button class="ui submit teal button" type="submit">注册</button>
					  	<div class="or"></div>
					  	<a href="/auth/login" class="ui positive button">去登录</a>
					</div>
				</div>
			</form>
		</div>
	</div>

	<script src="/js/jquery-1.8.3.min.js"></script>
	<script src="/js/semantic.min.js"></script>
</body>
</html>